package com.zzn.bookManage.pojo;

import java.io.Serializable;
import java.util.Date;

public class Book implements Serializable {
    private Integer bid; // 主键id
    private String name; // 书名
    private String author; // 作者
    private String publisher; // 出版社
    private String description; // 简介
    private Double price; // 参考价格
    private String position; // 存放位置
    private User borrowBy; // 借阅者
    private Date expireTime; // 到期时间
    private Date createTime; // 创建时间

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public User getBorrowBy() {
        return borrowBy;
    }

    public void setBorrowBy(User borrowBy) {
        this.borrowBy = borrowBy;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
